﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wechat.Util.StateCode
{
    /// <summary>
    /// 状态码
    /// </summary>
    public enum EnumStateCode
    {
        /// <summary>
        /// 请求成功
        /// </summary>
        Success = 3000,

        /// <summary>
        /// 未知错误
        /// </summary>
        UnknownError = 4000,

        /// <summary>
        /// 系统错误
        /// </summary>
        SystemError = 4001,

        /// <summary>
        /// 参数丢失
        /// </summary>
        ParameterMissing = 4002,

        /// <summary>
        /// 参数校验失败
        /// </summary>
        ParameterValidationFailed = 4003,

        /// <summary>
        /// 参数无效
        /// </summary>
        ParameterInvalid = 4004,

        /// <summary>
        /// 无返回数据
        /// </summary>
        NoResultData = 4005
    }
}
